<script>
	export default {
		
		onLaunch() {
		},
	
		onShow() {
		 // 产品切换
		 uni.setStorageSync('Refresh_list',1)
		  //判断是否有Token,没有token就跳转登录页 
		  // uni.removeStorageSync('token'); 
		 let token = uni.getStorageSync('token');
		 if(!token){
			 uni.removeStorageSync('userInfo');
			 uni.reLaunch({
			 	url:'components/user/user-dl'
			 }) 
		 } 
		},  
		
		onHide() {
			
		}
	}
</script>
<style>
	/*每个页面公共css */
	@import "/static/css/iconfont.css";
	@import "/static/css/common.css";
</style>
